package com.proj.bean;

public class Useraddress {
    private int id;
    private int userid;
    private String province;
    private String city;
    private String area;
    private String address;
    private String name;
    private String telephone;
    private int isdefault;

    @Override
    public String toString() {
        return "Useraddress{" +
                "id=" + id +
                ", userid=" + userid +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", address='" + address + '\'' +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", isdefault=" + isdefault +
                '}';
    }

    public Useraddress(int id, int userid, String province, String city, String area, String address, String name, String telephone, int isdefault) {
        this.id = id;
        this.userid = userid;
        this.province = province;
        this.city = city;
        this.area = area;
        this.address = address;
        this.name = name;
        this.telephone = telephone;
        this.isdefault = isdefault;
    }
    public Useraddress() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(int isdefault) {
        this.isdefault = isdefault;
    }
}
